﻿export default [
  { path:'/welcome',name:'欢迎',icon: 'smile',component:'./Index/Index',},
  { path: '/interface_info/:id',name:'查看接口',icon: 'smile',component: './InterfaceInfo/Index',hideInMenu:true },
  {
    path: '/user',
    layout: false,
    routes: [{name: '登录', path: '/user/login', component: './User/Login'}],
  },
  { path: '/admin', name: '管理页', icon: 'crown', access: 'canAdmin',
    routes: [
      { name: '接口管理',icon:'table',path: '/admin/interface_info', component: './Admin/InterfaceInfo'},

      { name:'接口分析',icon:'analytics',path: '/admin/interface_analysis', component: './Admin/InterfaceAnalysis'},
    ],
  },
  {path: '*', layout: false, component: './404'},
];
